const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭代码检查
  lintOnSave : false,

  
  devServer: {
    port: 9876,
    proxy: {
      '/api': {
        target: 'http://localhost:8080',
        pathRewrite: {'^/api' : '/my-demo'},
        ws: true,
        changeOrigin: true
      }
    }
  }


  
})
